
//
//  MJTempViewController.swift
//  新浪微博
//
//  Created by MaJi on 16/4/8.
//  Copyright © 2016年 MaJi. All rights reserved.
//

import UIKit

class MJTempViewController: UIViewController {

    override func viewDidLoad() {
//        在这里不能用self  只能用view
//        view.backgroundColor = UIColor.whiteColor()
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: nil, imageName: "navigationbar_friendsearch", target: self, action: "push")
    }
    
    @objc private func push(){
        let temp = MJTempViewController()
        navigationController?.pushViewController(temp, animated: true)
    }
}
